<template>
  <!-- <h1>{{ sexList }}</h1> -->
  <h1>{{ $filters.sexName(1) }}</h1>
  <button @click="handleClick">click</button>
</template>

<script setup>
import { getCurrentInstance } from "vue";
const { proxy } = getCurrentInstance();

async function handleClick() {
  proxy.submitOk("保存成功");
  proxy.submitFail("操作失败");
}
</script>
